package praktikumid.w06.p2;

public class Spider extends Animal {

	public Spider(int noOfLegs) {
		super.setNoOfLegs(noOfLegs);
	}
	
	public void dangle() {
		System.out.println("Dangling in the wind...");
	}

	@Override
	public String toString() {
		return "Hi, I'm a spider!";
	}
	
	public void makeNoise() {
		System.out.println("Hissssss!");
	}
	
	
}
